import { Role } from '../entities/role.entity';
import {IsOptional} from 'class-validator';

export class CreateRoleDto {
    role:Role;

    @IsOptional()
    menuIds?:number[];

    @IsOptional()
    deptIds?:number[];
}
